# Contributor: RickyRockRat <gpib@rickyrockrat.net>
# Maintainer: RickyRockRat <gpib@rickyrockrat.net>
pkgname=parcellite
pkgver=1.2.4.0
pkgrel=0
pkgdesc="A lightweight GTK+ clipboard manager."
url="http://parcellite.sourceforge.net"
arch="all"
options='!check'
license="GPL-3.0-or-later"
makedepends="intltool gcc make pkgconf gtk+2.0-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/rickyrockrat/parcellite/archive/$pkgver.tar.gz"

build() {
	make -f Makefile.simple VERSION=$pkgver
}

package() {
	make -f Makefile.simple DESTDIR="$pkgdir" install-bin
	make -f Makefile.simple DESTDIR="$pkgdir" install-doc
	make -f Makefile.simple DESTDIR="$pkgdir" install-lang
}

sha512sums="
f6452b1b41bae0f6af2fea72052ee17c7d47681c921afe2f89b1ed0180bac9b9551b6d5e6b9422ae696a482fb81c57df85d11620bcc77e7fd47f2050ccfd1673  parcellite-1.2.4.0.tar.gz
"
